package com.example.latte_core.app;

import android.content.Context;

import java.util.HashMap;

public final  class Latte {

    public  static  Configurator init(Context context){

      getConfiguratitions().put(ConfigType.APPLICATION_CONTEXT.name(),context.getApplicationContext() );
      return  Configurator.getInstance();
    }

    public static HashMap<String,Object> getConfiguratitions(){
        return  Configurator.getInstance().getLatteComfigs();
    }
    public  static  Context getApplication(){
        return (Context) getConfiguratitions().get(ConfigType.APPLICATION_CONTEXT.name());
    }
}
